home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sun4c / archive / tcltk.z / tcltk / slib / tk / demos / README < prev    next >
Text File  |  1994-09-20  |  3KB  |  62 lines

  1. This directory contains a collection of programs to demonstrate
  2. the features of the Tk toolkit.  The programs are all scripts for
  3. "wish", a windowing shell.  If wish has been installed in /usr/local
  4. then you can invoke any of the programs in this directory just
  5. by typing its file name to your command shell.  Otherwise invoke
  6. wish on the file using the "-f" switch to wish, e.g. "wish -f hello".
  7. The rest of this file contains a brief description of each program.
  8. Files with names ending in ".tcl" are procedure packages used by one
  9. or more of the demo programs;  they can't be used as programs by
  10. themselves so they aren't described below.
  11.  
  12. hello -        Creates a single button;  if you click on it, a message
  13.         is typed and the application terminates.
  14.  
  15. widget -    Contains a collection of demonstrations of the widgets
  16.         currently available in the Tk library.  Most of the .tcl
  17.         files are scripts for individual demos available through
  18.         the "widget" program.
  19.  
  20. ixset -        A simple Tk-based wrapper for the "xset" program, which
  21.         allows you to interactively query and set various X options
  22.         such as mouse acceleration and bell volume.  Thanks to
  23.         Pierre David for contributing this example.
  24.  
  25. rolodex -    A mock-up of a simple rolodex application.  It has much of
  26.         the user interface for such an application but no back-end
  27.         database.  This program was written in response to Tom
  28.         LaStrange's toolkit benchmark challenge.
  29.  
  30. tcolor -    A color editor.  Allows you to edit colors in several
  31.         different ways, and will also perform automatic updates
  32.         using "send".
  33.  
  34. rmt -        Allows you to "hook-up" remotely to any Tk application
  35.         on the display.  Select an application with the menu,
  36.         then just type commands:  they'll go to that application.
  37.  
  38. timer -        Displays a seconds timer with start and stop buttons.
  39.         Control-c and control-q cause it to exit.
  40.  
  41. browse -    A simple directory browser.  Invoke it with and argument
  42.         giving the name of the directory you'd like to browse.
  43.         Double-click on files or subdirectories to browse them.
  44.         Control-c and control-q cause the program to exit.
  45.  
  46. dialog -    Displays a simple dialog.  Click on any button and the
  47.         application exits.
  48.  
  49. size -        Takes three arguments:  the name of an application, the
  50.         name of a widget in that application, and the name of an
  51.         integer-valued option for that widget.  Allows you to
  52.         interactively resize the given option.  For example,
  53.         start up the dialog demo, then type
  54.         "size dialog .bot.middle -pady" for an example.
  55.  
  56. color -        Similar to "size", but modifies a color option.  Try
  57.         "color dialog .bot.middle -bg" for an example.
  58.  
  59. tkSquare.c -    A very simple widget to provide an example of how to
  60.         implement a new widget.  When building a new widget you
  61.         may find it useful to start from this code.
  62.